﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 用户积分日志
/// </summary>
public partial class SUserIntegralLog
{
    /// <summary>
    /// 自增id
    /// </summary>
    public ulong Id { get; set; }

    /// <summary>
    /// 用户id
    /// </summary>
    public uint UserId { get; set; }

    /// <summary>
    /// 操作类型（0减少, 1增加）
    /// </summary>
    public byte Type { get; set; }

    /// <summary>
    /// 原始积分
    /// </summary>
    public uint OriginalIntegral { get; set; }

    /// <summary>
    /// 最新积分
    /// </summary>
    public uint NewIntegral { get; set; }

    /// <summary>
    /// 操作原因
    /// </summary>
    public string? Msg { get; set; }

    /// <summary>
    /// 操作人员id
    /// </summary>
    public uint OperationId { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }
}
